﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcApplication1.Models.Partido>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Goleadores
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Goleadores</h2>
    <p><%= Html.Encode(Model.Equipo.Nombre) %></p> 
    <div class="editor-field">
    <% for(int i = 0; i < (int)Model.GolesA; i++) { %>
        <%: Html.DropDownList("GA" + i, ViewData["JugadoresA"] as SelectList)  %>
    <% }%>
    </div>
    <p><%= Html.Encode(Model.Equipo1.Nombre) %></p> 
    <div class="editor-field">
    <% for(int i = 0; i < (int)Model.GolesB; i++) { %>
        <%: Html.DropDownList("GB" + i, ViewData["JugadoresB"] as SelectList)  %>
    <% }%>
    </div>
    <p>
        <input type="submit" value="Aceptar" />
    </p>

</asp:Content>
